package com.codrim.cs.data.rpc;

import java.util.List;

import com.codrim.cs.data.rpc.contants.RpcServiceVersions;
import com.codrim.cs.data.rpc.contants.RpcVersionSuffix;
import com.codrim.cs.data.rpc.dto.param.AdvertiserWholeDayDataForPeriodParamDTO;
import com.codrim.cs.data.rpc.dto.param.WholeDayDataParamDTO;
import com.codrim.cs.data.rpc.dto.result.AdvertiserWholeDayDataForPeriodResultDTO;
import com.codrim.cs.data.rpc.dto.result.RealTimeDataDTO;
import com.codrim.cs.data.rpc.dto.result.WholeDayDataResultDTO;

/**
 * @author Liang.Zhuge
 * @date 26/07/2017
 */
public interface AdvertiserDataService {
    String RPC_VERSION = RpcServiceVersions.VERSION + RpcVersionSuffix.VERSION_SUFFIX;

    List<RealTimeDataDTO> advertiserWholeDayRealData(WholeDayDataParamDTO param);

    /**
     * 获取广告主指定日期一整天的数据
     *
     * @param param 查询参数
     * @return 数据
     */
    List<WholeDayDataResultDTO> advertiserWholeDayData(WholeDayDataParamDTO param);

    /**
     * 获取时间返回内广告主的按天统计数据
     * @param param
     * @return 符合条件的按天统计数据和实时数据
     */
    AdvertiserWholeDayDataForPeriodResultDTO advertiserWholeDayDataForPeriod(AdvertiserWholeDayDataForPeriodParamDTO param);
}
